using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_Report_Change_AreaUnit : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlDateTime		_report_Change_AreaUnit_ExchangeDate, _report_Change_AreaUnit_FormlyerExchangeDate;
			private SqlInt32		_report_Plan_Audit, _report_Change_AreaUnit_ExchangeTypeID;
			private SqlString		_report_Change_AreaUnit_ReduceData, _report_Change_AreaUnit_NowData, _report_Change_AreaUnit_AdjustReason, _report_Change_AreaUnit_UpdateData, _report_Change_AreaUnit_FormlyerReportNO, _report_Change_AreaUnit_Unit, _report_Change_AreaUnit_FormlyerData;
            private SqlGuid          _report_Change_AreaUnit_ID, _report_Change_AreaUnit_ProjectID;
		#endregion



		#region Class Property Declarations
		public SqlGuid Report_Change_AreaUnit_ID
		{
			get
			{
				return _report_Change_AreaUnit_ID;
			}
			set
			{
				_report_Change_AreaUnit_ID = value;
			}
		}

        public SqlGuid Report_Change_AreaUnit_ProjectID
        {
            get
            {
                return _report_Change_AreaUnit_ProjectID;
            }
            set
            {
                _report_Change_AreaUnit_ProjectID = value;
            }
        }

		public SqlInt32 Report_Change_AreaUnit_ExchangeTypeID
		{
			get
			{
				return _report_Change_AreaUnit_ExchangeTypeID;
			}
			set
			{
				SqlInt32 report_Change_AreaUnit_ExchangeTypeIDTmp = (SqlInt32)value;
				if(report_Change_AreaUnit_ExchangeTypeIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_ExchangeTypeID", "Report_Change_AreaUnit_ExchangeTypeID can't be NULL");
				}
				_report_Change_AreaUnit_ExchangeTypeID = value;
			}
		}


		public SqlDateTime Report_Change_AreaUnit_ExchangeDate
		{
			get
			{
				return _report_Change_AreaUnit_ExchangeDate;
			}
			set
			{
				SqlDateTime report_Change_AreaUnit_ExchangeDateTmp = (SqlDateTime)value;
				if(report_Change_AreaUnit_ExchangeDateTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_ExchangeDate", "Report_Change_AreaUnit_ExchangeDate can't be NULL");
				}
				_report_Change_AreaUnit_ExchangeDate = value;
			}
		}


		public SqlDateTime Report_Change_AreaUnit_FormlyerExchangeDate
		{
			get
			{
				return _report_Change_AreaUnit_FormlyerExchangeDate;
			}
			set
			{
				SqlDateTime report_Change_AreaUnit_FormlyerExchangeDateTmp = (SqlDateTime)value;
				if(report_Change_AreaUnit_FormlyerExchangeDateTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_FormlyerExchangeDate", "Report_Change_AreaUnit_FormlyerExchangeDate can't be NULL");
				}
				_report_Change_AreaUnit_FormlyerExchangeDate = value;
			}
		}


		public SqlString Report_Change_AreaUnit_FormlyerReportNO
		{
			get
			{
				return _report_Change_AreaUnit_FormlyerReportNO;
			}
			set
			{
				SqlString report_Change_AreaUnit_FormlyerReportNOTmp = (SqlString)value;
				if(report_Change_AreaUnit_FormlyerReportNOTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_FormlyerReportNO", "Report_Change_AreaUnit_FormlyerReportNO can't be NULL");
				}
				_report_Change_AreaUnit_FormlyerReportNO = value;
			}
		}


		public SqlString Report_Change_AreaUnit_Unit
		{
			get
			{
				return _report_Change_AreaUnit_Unit;
			}
			set
			{
				SqlString report_Change_AreaUnit_UnitTmp = (SqlString)value;
				if(report_Change_AreaUnit_UnitTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_Unit", "Report_Change_AreaUnit_Unit can't be NULL");
				}
				_report_Change_AreaUnit_Unit = value;
			}
		}


		public SqlString Report_Change_AreaUnit_FormlyerData
		{
			get
			{
				return _report_Change_AreaUnit_FormlyerData;
			}
			set
			{
				SqlString report_Change_AreaUnit_FormlyerDataTmp = (SqlString)value;
				if(report_Change_AreaUnit_FormlyerDataTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_FormlyerData", "Report_Change_AreaUnit_FormlyerData can't be NULL");
				}
				_report_Change_AreaUnit_FormlyerData = value;
			}
		}


		public SqlString Report_Change_AreaUnit_UpdateData
		{
			get
			{
				return _report_Change_AreaUnit_UpdateData;
			}
			set
			{
				SqlString report_Change_AreaUnit_UpdateDataTmp = (SqlString)value;
				if(report_Change_AreaUnit_UpdateDataTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_UpdateData", "Report_Change_AreaUnit_UpdateData can't be NULL");
				}
				_report_Change_AreaUnit_UpdateData = value;
			}
		}


		public SqlString Report_Change_AreaUnit_ReduceData
		{
			get
			{
				return _report_Change_AreaUnit_ReduceData;
			}
			set
			{
				SqlString report_Change_AreaUnit_ReduceDataTmp = (SqlString)value;
				if(report_Change_AreaUnit_ReduceDataTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_ReduceData", "Report_Change_AreaUnit_ReduceData can't be NULL");
				}
				_report_Change_AreaUnit_ReduceData = value;
			}
		}


		public SqlString Report_Change_AreaUnit_NowData
		{
			get
			{
				return _report_Change_AreaUnit_NowData;
			}
			set
			{
				SqlString report_Change_AreaUnit_NowDataTmp = (SqlString)value;
				if(report_Change_AreaUnit_NowDataTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_NowData", "Report_Change_AreaUnit_NowData can't be NULL");
				}
				_report_Change_AreaUnit_NowData = value;
			}
		}


		public SqlString Report_Change_AreaUnit_AdjustReason
		{
			get
			{
				return _report_Change_AreaUnit_AdjustReason;
			}
			set
			{
				SqlString report_Change_AreaUnit_AdjustReasonTmp = (SqlString)value;
				if(report_Change_AreaUnit_AdjustReasonTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Change_AreaUnit_AdjustReason", "Report_Change_AreaUnit_AdjustReason can't be NULL");
				}
				_report_Change_AreaUnit_AdjustReason = value;
			}
		}


		public SqlInt32 Report_Plan_Audit
		{
			get
			{
				return _report_Plan_Audit;
			}
			set
			{
				SqlInt32 report_Plan_AuditTmp = (SqlInt32)value;
				if(report_Plan_AuditTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Plan_Audit", "Report_Plan_Audit can't be NULL");
				}
				_report_Plan_Audit = value;
			}
		}
		#endregion
	}
}
